//
//  ZHYYTextView.h
//  ZHYYView
//
//  Created by MT-SW-005 on 2021/9/22.
//  Copyright © 2021 yuan zhang. All rights reserved.
//

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZHYYTextView : NSView
@property (nonatomic, strong) NSTextView *theTextView;
@property (nonatomic, strong) NSScrollView *scrollView;
@property (nonatomic, assign) BOOL textEditable;
@property (nonatomic, assign) BOOL textSelectable;
@property (nonatomic, strong) NSFont *font;

-(void)setMessage:(NSString*)message Cover:(BOOL)cover;

-(void)setMessage:(NSString*)message;

- (void)addMessage:(NSString *)message;

-(void)clearMessage;

-(NSString*)message;

@end

NS_ASSUME_NONNULL_END
